<?php
/* Smarty version 3.1.30, created on 2017-09-20 16:05:21
  from "D:\phpStudy\WWW\mvc3\app\Home\view\match_v.html" */

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '3.1.30',
  'unifunc' => 'content_59c22141293a66_45204255',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    '8bd12b9e8c20cad744a76e7482f1497e22a0cc90' => 
    array (
      0 => 'D:\\phpStudy\\WWW\\mvc3\\app\\Home\\view\\match_v.html',
      1 => 1505889077,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_59c22141293a66_45204255 (Smarty_Internal_Template $_smarty_tpl) {
?>
<!DOCTYPE html>
 <html lang="en">
 <head>
 	<meta charset="UTF-8">
 	<title>比赛信息</title>
 </head>
 <body>
 	<center>
      <h1>比赛信息</h1>
      <table border="1" cellspacing ="0">
      	<tr>
      		<th>主场</th>
      		<th>比分</th>
      		<th>客场</th>
          <th>操作</th>
      	</tr>
  
        <?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['match']->value, 'v');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['v']->value) {
?>
              <tr>
                  <td><a href="index.php?c=Team&a=teamList&id=<?php echo $_smarty_tpl->tpl_vars['v']->value['teamone'];?>
"><?php echo $_smarty_tpl->tpl_vars['v']->value['te1'];?>
</a></td>
                   <td><?php echo $_smarty_tpl->tpl_vars['v']->value['score'];?>
</td>
                   <!--    通过地址栏可以看出要访问的控制器是Team要访问的方法名是teamList -->
                   <td><a href="index.php?c=Team&a=teamList&id=<?php echo $_smarty_tpl->tpl_vars['v']->value['teamtwo'];?>
"><?php echo $_smarty_tpl->tpl_vars['v']->value['te2'];?>
</a></td>
                   <td><a href="index.php?c=Match&a=delMatch">删除</a>
                   <a href="index.php?c=Match&a=updateMatch">修改</a>
                   <a href="index.php?c=Match&a=addMatch">添加</a></td>
              </tr>
              <?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl);
?>

      </table>
 	</center>
 </body>
 </html><?php }
}
